<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
    <class name="dave.hibernate.lab.Customer" 
	table="CUSTOMER" catalog="test">
 
        <id name="id" type="java.lang.Long">
            <column name="ID" />
            <generator class="identity" />
        </id>
        <property name="fname" type="string">
            <column name="FNAME" length="45" not-null="true" />
        </property>
        <property name="lname" type="string">
            <column name="LNAME" length="45" not-null="true" />
        </property>
        <property name="address" type="string">
            <column name="ADDRESS" not-null="true" />
        </property>
        <property name="tel" type="string">
            <column name="TEL" length="45" not-null="true" />
        </property>
    </class>
</hibernate-mapping>